package com.jmebananas.input;

import com.jme.input.InputHandler;
import com.jme.renderer.Camera;
import com.jmebananas.input.action.MouseBorderAction;

/**
 * MousePanHandler
 * 
 * @author Glenn Powell
 * 
 */
public class MouseBorderHandler extends InputHandler {

	private MouseBorderAction action;


	public MouseBorderHandler(Camera cam, float speed, int left, int top, int right, int bottom, int border) {
		action = new MouseBorderAction(cam, speed, left, top, right, bottom, border);
		addAction(action);
	}

	public MouseBorderAction getAction() {
		return action;
	}

}
